﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DONGACS.DAO;
namespace DONGACS.SERVICE
{
   public class DoanVaoService
    {
       DoanVaoDao DoanVaoDao = new DoanVaoDao();

        public DataTable GetDoanVaoByIdReport(string id)
        {
            DataTable table = DoanVaoDao.GetDoanVaoByIdReport(id);
            return table;
        }
        public DataTable GetDoanVaoLuuTruYkien(string id, int IdNghiepVu)
        {
            DataTable table = DoanVaoDao.GetDoanVaoLuuTruYkien(id, IdNghiepVu);
            return table;
        }
       
        public DataTable GetDoanVaoByIdBienNhan(string id)
        {
            DataTable table = DoanVaoDao.GetDoanVaoByIdBienNhan(id);
            return table;
        }

        public DataTable GetThanhPhanDoanByIdDoanVaoReport(string id)
        {
            DataTable table = DoanVaoDao.GetThanhPhanDoanByIdDoanVaoReport(id);
            return table;
        }

        public DataTable SoLuongNguoiThanhPhanDoan(string id)
        {
            DataTable table = DoanVaoDao.SoLuongNguoiThanhPhanDoan(id);
            return table;
        }

        public DataTable GetHoSoDinhKemByIdReport(int id)
        {
            DataTable table = DoanVaoDao.GetHoSoDinhKemByIdReport(id);
            return table;
        }
        public DataTable GetBaoCaoTongHopDoanVao(DateTime TuNgay,DateTime DenNgay)
        {
            DataTable table = DoanVaoDao.BaoCaoTongHopDoanVao(TuNgay, DenNgay);
            return table;
        }
    }
}
